package com.coder520.mamabike.security;

import org.springframework.util.DigestUtils;

/**
 * Created by ASUS on 2017/8/12.
 */
public class MD5Util {

    private static String stal = "asfio2h4o2yihog9u)^*&%(*(-9u235urhbsjkdfvcysciuasf";

    public static String getMD5(String s) {
        String base = s ;
        String md5 = DigestUtils.md5DigestAsHex(base.getBytes());
        return md5;
    }
}
